Conversation
2131a2a to
8358f66
Compare
8358f66 to
cdf6999
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 CHANGELOG
All notable changes to the Talk to Your Docs RAG System.
[3.0.0] - 2026-01-01 - Langfuse v3 Migration
🔥 Breaking Changes
Langfuse v3 Compatibility: Updated to support Langfuse v3 API
langfuse_context(no longer available in v3)observedecorator importsPython Version: Changed from Python 3.12 to Python 3.11
Dockerfileto usepython:3.11-slim✨ New Features
Monitoring & Observability
Prometheus Integration: Added metrics collection
prometheus.ymlconfiguration/metricsendpoint on FastAPIGrafana Dashboards: Added visualization layer
docker-compose.ymlhttp://localhost:3000(admin/admin)Infrastructure
Enhanced Docker Compose: Multi-service orchestration
prometheusservice (port 9090)grafanaservice (port 3000)Makefile Improvements: 60+ new commands
make up,make down,make rebuildmake logs-api,make logs-streamlitmake clean-dbmake k8s-deploy,make k8s-deleteCode Quality
Graceful Error Handling: Better fallbacks for Langfuse API
@observedecorator importsImproved Logging: More informative debug messages
🔧 Changed
Configuration
src/config.py: Updated with new variablesTOP_K_RETRIEVAL = 50TOP_K_RERANK = 7API_HOSTandAPI_PORTMAX_CONCURRENT_REQUESTS.env.example: Expanded with all required variablesCore Components
src/rag.py: Major refactoring for v3src/app.py: Enhanced API endpoints@observedecorator to/chatsrc/ingestion.py: Updated imports@observeDocker & Deployment
Dockerfile: Optimized build processdocker-compose.yml: Complete rewriteDockerfile.qdrant: New custom Qdrant imagecurlfor health checksCI/CD
.github/workflows/ci.yml: Enhanced pipeline📚 Documentation
New Files
MIGRATION_TO_V3.md: Step-by-step migration guideprometheus.yml: Metrics configurationCHANGELOG.md: This fileUpdated Files
README.md: Complete rewrite🐛 Bug Fixes
@observeimport errors with compatibility layer🔒 Security
.envfile.env.exampletemplate⚡ Performance
📊 Metrics & Monitoring
New Metrics Exposed
http_requests_total- Total API requestshttp_request_duration_seconds- Latency histogramhttp_requests_in_progress- Active requestsLangfuse Traces
rag_pipeline(main trace)generate_multi_queries,rerank_docs,ingest_fileapi_chat(FastAPI endpoint)🧪 Testing
[2.0.0] - 2024-XX-XX - Previous Version
Features
Migration Summary
Files Changed (v2 → v3)
Breaking Changes Summary
Upgrade Steps
Contributors
License
MIT License - See LICENSE file for details